﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhotoGallery.Model
{
    public class Picture
    {
        private string id;
        private string uid;
        private string title;
        private string desp;
        private string aid;
        private string pic;
        private string rank;
        private string share;
        private string time;
        private string state;

        public Picture() { }

        public Picture(string id, string uid, string title,string desp, string aid, string pic, string rank, string share, string time, string state)
        {
            this.id = id;
            this.uid = uid;
            this.title = title;
            this.desp = desp;
            this.aid = aid;
            this.pic = pic;
            this.rank=rank;
            this.share=share;
            this.time=time;
            this.state=state;
        }

        public string Id{
            get { return id; }
        }
        public string Uid {
            get { return uid; }
        }
        public string Title {
            get { return title; }
            set { this.title = value; }
        }
        public string Desp {
            get { return desp; }
            set { this.desp = value; }
        }
        public string Aid {
            get { return aid; }
            set { this.aid = value; }
        }
        public string Pic {
            get { return pic; }
            set { this.pic = value; }
        }
        public string Rank {
            get { return rank; }
            set { this.rank = value; }
        }
        public string Share {
            get { return share; }
            set { this.share = value; }
        }
        public string Time {
            get { return time; }
            set { this.time = value; }
        }
        public string State {
            get { return state; }
            set { this.state = value; }
        }
    }
}
